package com.icode.service.management;

import com.icode.core.dto.manager.AssignmentDTO;
import com.icode.core.model.house.Assignment;
import com.icode.core.model.user.User;
import org.hibernate.validator.jtype.TypeUtils;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: sunk
 * Date: 15-11-15
 * Time: 下午10:09
 * To change this template use File | Settings | File Templates.
 */
public interface AssignmentService {
    void initAssignment(AssignmentDTO assignmentDTO);

    List<AssignmentDTO> getAssignments(String status);

    void changeStatus(String assignmentGuid, String myHouseGuid);

    void setAssignmentsByMyHouseGuid(String myhouseguid, User user);

    List<AssignmentDTO> findRentAllByPage(String currentPage, String status);
}
